package com.juzi.staticinheritance.constructor;

public class Test2 {
    public static void main(String[] args) {
        //目标：学习子类构造器如何去访问父类有参数构造器,清楚其作用
        Teacher t = new Teacher("桔子",17);

        System.out.println(t.getAge());
        System.out.println(t.getName());
    }
}
